package net.heri.xmppchat.services;

import net.heri.xmppchat.xmppclient.IXmppClient;

import org.jivesoftware.smack.XMPPException;

import android.os.RemoteException;
import android.util.Log;

public class ChatServiceStub extends IChatService.Stub {

	private final String TAG = ChatServiceStub.class.getSimpleName();
	private IXmppClient mClient;
	
	@Override
	public void login(String username, String password) throws RemoteException {
		try {
			mClient.login(username, password);
		} catch (XMPPException e) {
			Log.e(TAG, e.getMessage());
		}
	}

	@Override
	public void createChat(String JID) throws RemoteException {
		
	}

}
